package com.zhengtoudai.injector.module;

import android.app.Activity;

import com.zhengtoudai.injector.PerActivity;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2016/8/23 0023.
 */

@Module public class ActivityModule {
    private final Activity mActivity;

    public ActivityModule(Activity mActivity) {
        this.mActivity = mActivity;
    }

    @Provides
    @PerActivity
    public Activity provideActivity() {
        return mActivity;
    }

}
